#include "widget_cmd_delay.h"

WidgetCmdDelay::WidgetCmdDelay(QWidget *parent)
	: QWidget(parent)
{
	ui.setupUi(this);
}

WidgetCmdDelay::~WidgetCmdDelay()
{

}

void WidgetCmdDelay::updateUI( punch::STechnologyDetail *data/*=NULL*/ )
{
	double time_ = QString(data->para2).toDouble();
// 	if (data->cmd == CMD_IO_DELAY)
// 		time_ = QString(data->para2).toDouble();
// 	else
// 		time_ = QString(data->para4).toDouble();
	ui.dp_time->setValue(time_);

}
